<#if errors?? && errors?is_hash > <#assign
div_id="error_panel_"+.now?long?string />
<div class="error_panel hide" id="${div_id!}">
	<script type="text/javascript">
		$(function(){
			<#list errors.keySet() as key >
			$('#${div_id!}').parent().find('.${key!}').removeClass('hide').text('${errors.get(key)}');
			</#list>
		});
	</script>
</div>
</#if>
